package com.atguigu.dao;

import com.atguigu.pojo.Member;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberDao {

    Member findByTelephone(String telephone);

    void  add(Member member);

    Integer getMemberCountByMonth(String lastDayForThisMonth);

    int getTodayNewMember(String today);

    int getTotalMember();

    int getThisWeekAndMonthNewMember(String weekMonday);
}
